package com.ym.domain.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnComment;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsKey;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableComment;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@Table
@TableComment("系统设置表")
public class SysSetting {

    @Column
    @TableId(type = IdType.AUTO)
    @IsKey
    @EqualsAndHashCode.Include
    private Long id;

    @Column(length = 20)
    @ColumnComment("设置编码")
    private String settingCode;

    @Column(length = 100)
    @ColumnComment("设置参数值")
    private String settingValue;

    @Column(length = 50)
    @ColumnComment("备注")
    private String remark;

}
